package com.gxd.dao;

import com.gxd.domain.Goods;

import java.util.List;

public interface GoodsDao {
    long selectCount(int typeId);

    List<Goods> selectData(int typeId, int starIndex, int page_size);

    Goods findGoodById(int id);

    long selectCount();

    List<Goods> selectByPage(int page_num, int page_size);

    void addGoods(Goods goods);
}
